package cn.wolfcode.luowowo.comment.service.impl;

import cn.wolfcode.luowowo.comment.domain.CantonComment;
import cn.wolfcode.luowowo.comment.repository.ICantonCommentRepository;
import cn.wolfcode.luowowo.comment.service.ICantonCommentService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.util.StringUtils;

import java.util.Date;

@Service
public class CantonCommentServiceImpl implements ICantonCommentService {
    @Autowired
    private ICantonCommentRepository repository;
    @Autowired
    private MongoTemplate mongoTemplate;

    public void save(CantonComment comment){
        repository.save(comment);
    }

}
